package com.lzs.adx.web.commmon.enums;

import lombok.Getter;

@Getter
public enum ReportEnums {
    act("1","act","激活"),
    register("2","register","注册"),
    retain("4","retain","次留"),
    pay("3","pay","付费"),
    wakeup("5","wakeup","唤醒"),
    keybehaviors("6","keybehaviors","关键行为"),
    red("7","red","红包领取"),
    hprofit("8","hprofit","高佣");

    private String type;

    private String colums;

    private String msg;

    ReportEnums(String type, String colums, String msg) {
        this.type = type;
        this.colums = colums;
        this.msg = msg;
    }

    public static ReportEnums getReportEnums(String type){
        ReportEnums[] values = ReportEnums.values();
        for (ReportEnums value : values) {
            if(type.equals(value.getType())){
                return value;
            }
        }
        return null;
    }
}
